package com.gree.framework.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * Created by 180686 on 2021/6/25 12:51
 */
@Data
@NoArgsConstructor
@Table("SMBSE01${comp}")
public class Smbse01 {

    @Name
    private String usid;
    @Column
    private String nama;
    @Column
    private String pawd;
    @Column
    private String suno;
    @Column
    private String grup;
    @Column
    private String dept;
    @Column
    private String tela;
    @Column
    private String telb;
    @Column
    private String telc;
    @Column
    private String emil;
    @Column
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime indt;
    @Column
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime exdt;
    @Column
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lxdt;
    @Column
    private Integer teno;
    @Column
    private String buyr;
    @Column
    private Integer isem;
    @Column
    private String eml2;
}
